<?php
/**
 * 新闻动态
 * Created by PhpStorm.
 * User: xsh
 * Date: 2018/4/12  10:06
 */
namespace app\mobile\controller;
use think\Controller;

class Mechanism extends Base
{
    /*
    *	构造函数
    */
    function __construct(){
        parent::__construct();
    }

    public function zindex()
    {
        //加入我们
        $mechanism_top = db('mechanism')->order('orders desc')->limit('0,8')->select();

        //$mechanism = get_article('入驻平台','picture,link',7);
        $this->assign('mechanism_top', $mechanism_top);
        //$this->assign('mechanism', $mechanism);
        return $this->fetch();
    }

}